//
//  UIView+YDYExtention.m
//  DY_Bilibili
//
//  Created by 杨德勇 on 2016/10/9.
//  Copyright © 2016年 杨德勇. All rights reserved.
//

#import "UIView+YDYExtention.h"

@implementation UIView (YDYExtention)

+(instancetype)viewFromXib{
    return [[NSBundle mainBundle]loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].firstObject;
}
@end
